package com.workManager.service;

import com.github.pagehelper.PageInfo;
import com.workManager.pojo.TdFunction;

import java.util.List;
import java.util.Map;

/**
 * Created by Thinkpad on 2017/3/3 0003.
 */
public interface FunctionService {
    public int add(TdFunction function);
    public int delete(String functionId);
    public int deleteByList(List<String> functionIds);
    public PageInfo<TdFunction> query(Map map);
    public int update(TdFunction function);
}
